Accusoft.ImagXpress13.Net
PngReduce(ImagXpress,Byte[],Byte[]) Method




An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
The buffer holding the input PNG file.
The buffer holding the output PNG file.
Compress a PNG to optimal size while maintaining lossless fidelity to the input image. The reduction is achieved by removing select pieces of metadata and other possible color and/or transparency reductions.
Syntax
'Declaration
 
Public Overloads Shared Sub PngReduce( _
   ByVal imagXpress As ImagXpress, _
   ByVal inputPngData() As Byte, _
   ByRef outputPngData As Byte() _
) 
'Usage
 
Dim imagXpress As ImagXpress
Dim inputPngData() As Byte
Dim outputPngData As Byte()
 
ImageReduce.PngReduce(imagXpress, inputPngData, outputPngData)
public static void PngReduce( 
   ImagXpress imagXpress,
   byte[] inputPngData,
   out byte[] outputPngData
)
public: static void PngReduce( 
   ImagXpress* imagXpress,
   byte[]* inputPngData,
   [PARAMFLAG::Out] byte[] outputPngData
) 
public:
static void PngReduce( 
   ImagXpress^ imagXpress,
   array<byte>^ inputPngData,
   [Out] array<byte> outputPngData
) 

Parameters

imagXpress
An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
inputPngData
The buffer holding the input PNG file.
outputPngData
The buffer holding the output PNG file.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThrown when imagXpress is null.
System.ArgumentNullExceptionThrown when outputPngData is null.
ImagXpressExceptionThrown when imagXpress is not licensed for this feature.
ImagXpressExceptionThrown when inputPngData refers to a damaged or incomplete PNG.
See Also

Reference

ImageReduce Class
ImageReduce Members
Overload List

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback